<template>
  <div>
      <h3>我是父</h3>
      <Son/>
  </div>
</template>

<script>
import Son from './Son.vue'
export default {
    components: {
        Son
    },
    data() {
        return {
            arr: [1, 2, 3]
        }
    },
    methods: {
        fn() {
            console.log('父组件方法')
        }
    }
}
</script>

<style>

</style>